package com.rgs.gateway.authentication.feignclient.fallback;

import com.rgs.gateway.authentication.feignclient.client.AuthFeignClient;
import com.rgs.gateway.common.pojo.Result;

/**
 * @author RenGaoshuai
 * @date 2024/6/28 10:13
 * @description
 */
public class AuthFeignClientFallBack implements AuthFeignClient {
    @Override
    public Result<Boolean> permission(String appKey, String url, String method) {
        return Result.fail(40112,"熔断");
    }

    @Override
    public Result authUserInfo(String appKey) {
        return Result.fail(40112,"熔断");
    }
}
